﻿using MediatR;
using System.ComponentModel.DataAnnotations;
using WeekExam.PassPort.ErrorCode;

namespace HealthcareSystem.API.Write.Application.Command
{
    /// <summary>
    /// 居民建档处理命令
    /// </summary>
    public class FilingCommand:IRequest<ApiResult<int>>
    {

        /// <summary>
        /// 姓名
        /// </summary>
        public string? RecordName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int RecordSex { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public string? RecordAge { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string? RecordIdcard { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string? RecordPhone { get; set; }
        /// <summary>
        /// 家庭地址
        /// </summary>
        public string? RecordSite { get; set; }
        /// <summary>
        /// 签约团队
        /// </summary>
        public string? RecordTeam { get; set; }
        /// <summary>
        /// 签约状态
        /// </summary>
        public int RecordState { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime RecordDate { get; set; }
        /// <summary>
        /// 婚姻
        /// </summary>
        public string? RecordMarriage { get; set; }
        /// <summary>
        /// 血型
        /// </summary>
        public string? RecordBlood { get; set; }
        /// <summary>
        /// 参保情况
        /// </summary>
        public int RecordInsured { get; set; }
        /// <summary>
        /// 职业
        /// </summary>
        public string? RecordProfession { get; set; }
        /// <summary>
        /// 文化程度
        /// </summary>
        public int RecordCulture { get; set; }


        /// <summary>
        /// 性别
        /// </summary>
        public bool BehaviorSmoke { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public bool BehaviorCessation { get; set; }
        /// <summary>
        /// 是否被动吸烟者
        /// </summary>
        public bool BehaviorPassivity { get; set; }
        /// <summary>
        /// 是否饮酒
        /// </summary>
        public bool BehaviorDrink { get; set; }
        /// <summary>
        /// 是否运动
        /// </summary>
        public bool BehaviorExercise { get; set; }
        /// <summary>
        /// 高血压知晓情况
        /// </summary>
        public string? BehaviorHypertension { get; set; }
        /// <summary>
        /// 糖尿病知晓情况
        /// </summary>
        public string? BehaviorDiabetes { get; set; }


        /// <summary>
        /// 身高
        /// </summary>
        public string? PhysiqueHeight { get; set; }
        /// <summary>
        /// 体重
        /// </summary>
        public string? PhysiqueWeight { get; set; }
        /// <summary>
        /// BMI
        /// </summary>
        public string? PhysiqueBMI { get; set; }
        /// <summary>
        /// 腰围
        /// </summary>
        public string? PhysiqueWaistline { get; set; }
        /// <summary>
        /// 收缩压
        /// </summary>
        public string? PhysiqueShrink { get; set; }
        /// <summary>
        /// 舒张压
        /// </summary>
        public string? PhysiqueDiastole { get; set; }
        /// <summary>
        /// 空腹血糖
        /// </summary>
        public string? PhysiqueFBG { get; set; }
    }
}
